window.onload = function () {
  var centerF = document.getElementsByClassName('right_f')[0];
  //现在暂时不懂为什么一定要查询不同的动画,还有冒泡Bug为什么消失
  // logo.style.boxShadow = 'box-shadow: 0 0 0rem 0 black';

  if (centerF) {
    centerF.addEventListener('mouseover',
      function () {
        logo.style.animation = 'shdow_over  0.2s  1';
        logo.style.boxShadow = '0 0 0.5rem 0 black ';
      }
    )
    centerF.addEventListener('mouseout',
      function () {
        logo.style.animation = ' shdow_out  0.20s 1';
        logo.style.boxShadow = '0 0 0.5rem 0 black inset';
      }
    )
  }
}